package com.pkx.guide.holidays.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pkx.guide.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 节假日信息表
 *
 * @Author : YangLe
 * @create 2025/8/28 13:34
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_holidays_date")
@Schema(name="THolidaysDate对象", description="节假日信息表")
public class THolidaysDate extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "节假日主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "节假日名称")
    @TableField(value = "holiday_name")
    private  String holidayName;


    @Schema(description = "节假日开始时间")
    @TableField(value = "start_time")
    private String startTime;

    @Schema(description = "节假日结束时间")
    @TableField(value = "end_time")
    private String endTime;

    @Schema(description = "调休上班日期")
    @TableField(value = "adjusted_time")
    private String adjustedTime;

}
